package com.bigShen.mybatis.official.enumType;

public enum CurrenyEnum {

    CNY("CNY", "人民币"), HK("HK", "港元"), US("US", "美元");

    private String key;

    private String value;

    CurrenyEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "CurrenyEnum{" +
                "key='" + key + '\'' +
                ", value='" + value + '\'' +
                '}';
    }

}
